function defaultHeight() {
    //console.log(screen.availHeight);
    //let ih = screen.availHeight;
    let ih = window.innerHeight;    
    let main = document.getElementById("main");
    main.style.height = ih + 'px';
    console.log(window.innerWidth +" "+window.innerHeight);
}

function doSubmitLogin(){
    // hex_md5(value)
    // b64_md5(value)
    // str_md5(value)
    // hex_hmac_md5(key, data)
    // b64_hmac_md5(key, data)
    // str_hmac_md5(key, data) 
    // 4QRCOUM6WAU+VUBX8G+IPG   
    let pwd = document.getElementById("pwd");
    pwd.value = b64_md5(pwd.value).toUpperCase();
    console.log(pwd.value);
}